import java.util.Arrays;

public class Test3 {
    public static void main(String[] args) {
        int[] arr = new int[]{1,2,3,4,5};
        int[] ret = new int[arr.length];

  ret=arr.clone();
      System.out.println(Arrays.toString(ret));

    }
}
